xenstat: Linux dom0 statistics for case we use network bonding
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Dec 2009 13:37:20 +0000 (13:37 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Dec 2009 13:37:20 +0000 (13:37 +0000)
commit1fd93d4f8cb8e3a2f5cbf27aaee7dea25842b55b
tree9b2b3c0eb3a29a6e0033660c54b132268e313646
parentd1956b62b07379b2b77e9aee51bbdfc6e7b7c118
xenstat: Linux dom0 statistics for case we use network bonding

I've created a patch that alters dom0 statistics (if empty like in
case of network bonding) and puts network bridge statistics
instead. It's been tested with network bonding both enabled and
disabled and also by creating a standalone network bridge without
bonding... It was working fine in all my tests...

Signed-off-by: Michal Novotny <minovotn@redhat.com>
tools/xenstat/libxenstat/src/xenstat_linux.c